/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package backupit.core.dirbackup;

import backupit.core.*;
import java.io.Serializable;

/**
 *
 * @author dbotelho
 */
public class DirBackupInfo extends BackupInfo {
    //private DirBackup backup;
    private FileInfoSet destinationFiles;
    
    private long sourceReaderStartTime;
    private long sourceReaderEndTime;
    private long destinationReaderStartTime;
    private long destinationReaderEndTime;
    
    public DirBackupInfo(){
        
    }
    
    public DirBackupInfo(DirBackup backup){
        super();
        super.setBackup(backup);
        super.setSourceFiles(null);
        this.destinationFiles = null;
        super.setWrittenFiles(null);
    }
    
    public DirBackupInfo(DirBackup backup, FileInfoSet sourceFiles,FileInfoSet destinationFiles,FileInfoSet writtenFiles){
        this(backup);
        super.setSourceFiles(sourceFiles);
        this.destinationFiles = destinationFiles;
        super.setWrittenFiles(writtenFiles);
    }


    public FileInfoSet getDestinationFiles() {
        return destinationFiles;
    }



    public void setDestinationFiles(FileInfoSet destinationFiles) {
        this.destinationFiles = destinationFiles;
    }


    public long getSourceReaderStartTime() {
        return sourceReaderStartTime;
    }

    public void setSourceReaderStartTime(long sourceReaderStartTime) {
        this.sourceReaderStartTime = sourceReaderStartTime;
    }

    public long getSourceReaderEndTime() {
        return sourceReaderEndTime;
    }

    public void setSourceReaderEndTime(long sourceReaderEndTime) {
        this.sourceReaderEndTime = sourceReaderEndTime;
    }

    public long getDestinationReaderStartTime() {
        return destinationReaderStartTime;
    }

    public void setDestinationReaderStartTime(long destinationReaderStartTime) {
        this.destinationReaderStartTime = destinationReaderStartTime;
    }

    public long getDestinationReaderEndTime() {
        return destinationReaderEndTime;
    }

    public void setDestinationReaderEndTime(long destinationReaderEndTime) {
        this.destinationReaderEndTime = destinationReaderEndTime;
    }
}
